﻿using System.ComponentModel;

namespace EasySocket
{
    public enum ConnectionStateEnum
    {
        [Description("未知")]
        Unknown = 0,

        [Description("已连接")]
        Connected = 1,

        [Description("已断开")]
        Disconnected = 2,
    }

    public enum SocketEventTypeEnum
    {
        [Description("ReadArgs")]
        Read = 1,

        [Description("WriteArgs")]
        Write = 2,
    }
}
